package com.example.mybatisplues.Enum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum UserStatusEnum {
    Active(1, "活跃"),
    Frozen(2, "冻结");
    @EnumValue
    Integer value;
    String description;

    UserStatusEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }
}
